#ifndef _EMPLOYEETO_H_
#define _EMPLOYEETO_H_

namespace erp{
namespace employee{  //请务必修改到合适的namespace 建议为 bo
namespace to{  //务必修改到合适的namespace, 建议与业务相关.
class CEmployeePoConvCEmployeeDdo{

	public:

	template <class T_SRC, class T_DEST>
	static void Conv_CEmployeePo_To_CEmployeeDdo(const T_SRC & oSrc,T_DEST & oDest){
		oDest.SetVersion(oSrc.GetVersion(),oSrc.GetVersionUFlag());
		oDest.SetEmployeeId(oSrc.GetEmployeeId(),oSrc.GetEmployeeIdUFlag());
		oDest.SetEmployeeName(oSrc.GetEmployeeName(),oSrc.GetEmployeeNameUFlag());
		oDest.SetEmployeeEnglishName(oSrc.GetEmployeeEnglishName(),oSrc.GetEmployeeEnglishNameUFlag());
		oDest.SetEmployeeStatus(oSrc.GetEmployeeStatus(),oSrc.GetEmployeeStatusUFlag());
		oDest.SetEmployeeProperty(oSrc.GetEmployeeProperty(),oSrc.GetEmployeePropertyUFlag());
		oDest.SetEmployeePropertyInclude(oSrc.GetEmployeePropertyInclude(),oSrc.GetEmployeePropertyIncludeUFlag());
		oDest.SetEmployeePropertyExclude(oSrc.GetEmployeePropertyExclude(),oSrc.GetEmployeePropertyExcludeUFlag());
		oDest.SetEmployeeType(oSrc.GetEmployeeType(),oSrc.GetEmployeeTypeUFlag());
		oDest.SetEmployeeSex(oSrc.GetEmployeeSex(),oSrc.GetEmployeeSexUFlag());
		oDest.SetAddTime(oSrc.GetAddTime(),oSrc.GetAddTimeUFlag());
		oDest.SetLastUpdatetime(oSrc.GetLastUpdatetime(),oSrc.GetLastUpdatetimeUFlag());
	}

	template <class T_SRC, class T_DEST>
	static void Conv_CEmployeeDdo_To_CEmployeePo(const T_SRC & oSrc,T_DEST & oDest){
		oDest.SetVersion(oSrc.GetVersion(),oSrc.GetVersionUFlag());
		oDest.SetEmployeeId(oSrc.GetEmployeeId(),oSrc.GetEmployeeIdUFlag());
		oDest.SetEmployeeName(oSrc.GetEmployeeName(),oSrc.GetEmployeeNameUFlag());
		oDest.SetEmployeeEnglishName(oSrc.GetEmployeeEnglishName(),oSrc.GetEmployeeEnglishNameUFlag());
		oDest.SetEmployeeStatus(oSrc.GetEmployeeStatus(),oSrc.GetEmployeeStatusUFlag());
		oDest.SetEmployeeProperty(oSrc.GetEmployeeProperty(),oSrc.GetEmployeePropertyUFlag());
		oDest.SetEmployeePropertyInclude(oSrc.GetEmployeePropertyInclude(),oSrc.GetEmployeePropertyIncludeUFlag());
		oDest.SetEmployeePropertyExclude(oSrc.GetEmployeePropertyExclude(),oSrc.GetEmployeePropertyExcludeUFlag());
		oDest.SetEmployeeType(oSrc.GetEmployeeType(),oSrc.GetEmployeeTypeUFlag());
		oDest.SetEmployeeSex(oSrc.GetEmployeeSex(),oSrc.GetEmployeeSexUFlag());
		oDest.SetAddTime(oSrc.GetAddTime(),oSrc.GetAddTimeUFlag());
		oDest.SetLastUpdatetime(oSrc.GetLastUpdatetime(),oSrc.GetLastUpdatetimeUFlag());

	}
};
}
}
}

#endif /* _EMPLOYEETO_H_ */
